<div class="row">
    <div class="col-md-12">       
        <div class="block">
            <div class="block-title">
                <h2><strong>Listado de Tipo de Pagos </strong> </h2>
            </div>

            <div class="table-responsive">
            
                <table id="example-datatable" class="table table-vcenter table-condensed table-bordered">
                    <thead>
                        <tr>
                            <th class="text-center">Nro</th>                            
                            <th>Nombre de Pagos</th>
                            <th>Monto</th>
                            <th>Cantidad de Pagos</th>
                            <th>Accion</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $i=1;?>
                        <?php foreach($tipospagos as $tipos):?>
                        <tr>
                            <td class="text-center"><?php echo $i;$i++;?></td>                            
                            <td><?php echo $tipos['Tipospago']['nombre'];?></td>
                            <td><?php echo $tipos['Tipospago']['montos'];?></td>
                            <td><?php echo $tipos['Tipospago']['cantidadpagos'];?></td>
                            <td class="text-center">
                                <div class="btn-group">
                                    <a href="<?php echo $this->Html->url(array('controller'=>'Tipospagos','action' => 'edit', $tipos['Tipospago']['id']));?>"data-toggle="tooltip" title="Editar">
                                        <?php echo $this->Html->image('iconos/edit.png'); ?>
                                    </a>                                                                       
                                    <?php echo $this->Html->link($this->Html->image('iconos/del.png'), array('controller'=>'Users','action'=>'delete', $tipos['Tipospago']['id']), array('escape'=>false, 'confirm'=>'Esta seguro de Eliminar')); ?>
                                     </div>
                            </td>
                        </tr>
                        <?php endforeach;?>
                    </tbody>
                </table>
            </div>

        </div>
    </div>    
</div>